<%@ page language="java" pageEncoding="UTF-8"%>

<%
	String path=request.getContextPath();
  	String online=request.getSession().getServletContext().getAttribute("online").toString();
  	String all=request.getSession().getServletContext().getAttribute("all").toString();
  	String today=request.getSession().getServletContext().getAttribute("today").toString();
%>
<script type="text/javascript" src="<%=path%>/js/jquery.min.js"></script>
<script type="text/javascript" src="<%=path%>/js/statistic.js"></script>
<script type="text/javascript" language="javascript">
statistic();
</script>
<style>
<!--
.tongzhi{position:relative; height:25px; margin-top:-15px; overflow:hidden;}
.tongji{float:left; position:absolute; top:5px; left:25px;}
.marq{flaot:left; position:absolute; top:5px; right:0px; width:600px;}
-->
</style>
<div id="header">
	<div class="searchbox">
		<form action="<%=path%>/index/search.action" method="get" name="pageForm">
			<div class="searchtxt">		
				<input name="keyword" type="text" class="insrhtxt" id="srhtxt" onclick="this.style.color='#000';if(this.value=='搜索:类别,片名') this.value='';" value="搜索:类别,片名" maxLength="20"/>
		  </div>
			<div class="searchbtn">
				<input type="button" id="srhbtn"  class="insrhbtn"  onclick="javascrip:pageForm.submit();"/>
			</div>
		</form>
		</div>
	</div>
	
	<div id="links">
	  <ul>
		<li><a href="<%=path%>/index/init.action">首页</a></li>
		<li><a href="<%=path%>/sub.action?typeid=1">电影</a></li>
		<li><a href="<%=path%>/sub.action?typeid=2">电视剧</a></li>
		<li><a href="<%=path%>/sub.action?typeid=3">卡通</a></li>
		<li><a href="<%=path%>/sub.action?typeid=4">学习</a></li>
		<li><a href="<%=path%>/sub.action?typeid=5">综艺</a></li>
		<li><a href="<%=path%>/sub.action?typeid=0">全部</a></li>
		
	  </ul>
	  	
	</div>
	<div class="tongzhi">
		<span id="statistic" class="tongji">  在线人数：-- 今日访问次数：-- 总访问次数：--</span>
		<marquee scrolldelay="150" onmouseover="this.stop()" onmouseout="this.start()" class="marq">
			影视天地新网站,测试中,发现有问题希望同学请邮件给我dchwjy@126.com,也可以给我写建议！
 		</marquee>
	</div>